package com.ruoyi.basebill.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 汇总销售出库单明细对象 t_oms_sumsaleissuebillentry
 * 
 * @author wenyixiong
 * @date 2023-02-18
 */
public class OmsSumsaleissuebillentry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 父表id */
    private Long parentid;

    /** 仓库编码 */
    @Excel(name = "仓库编码", cellType = Excel.ColumnType.STRING)
    private String warehousenumber;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehousename;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String materialnumber;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialname;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String unitnumber;

    /** 基本计量单位 */
    @Excel(name = "基本计量单位")
    private String baseunitnumber;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal qty;

    /** 基本单位数量 */
    @Excel(name = "基本单位数量")
    private BigDecimal baseqty;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 税率 */
    @Excel(name = "税率")
    private BigDecimal taxrate;

    /** 系统含税单价 */
    @Excel(name = "系统含税单价")
    private BigDecimal systaxprice;

    /** 含税单价 */
    @Excel(name = "含税单价")
    private BigDecimal taxprice;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal amount;

    /** 税额 */
    @Excel(name = "税额")
    private BigDecimal tax;

    /** 价税合计 */
    @Excel(name = "价税合计")
    private BigDecimal taxamount;

    /** 是否赠品 */
    @Excel(name = "是否赠品")
    private Long ispresent;

    /** 应收客户 */
    @Excel(name = "应收客户")
    private String balancecustomernumber;

    /** 订货客户 */
    @Excel(name = "订货客户")
    private String ordercustomernumber;

    /** 收款客户 */
    @Excel(name = "收款客户")
    private String paymentcustomernumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setParentid(Long parentid) 
    {
        this.parentid = parentid;
    }

    public Long getParentid() 
    {
        return parentid;
    }
    public void setWarehousenumber(String warehousenumber) 
    {
        this.warehousenumber = warehousenumber;
    }

    public String getWarehousenumber() 
    {
        return warehousenumber;
    }
    public void setWarehousename(String warehousename) 
    {
        this.warehousename = warehousename;
    }

    public String getWarehousename() 
    {
        return warehousename;
    }
    public void setMaterialnumber(String materialnumber) 
    {
        this.materialnumber = materialnumber;
    }

    public String getMaterialnumber() 
    {
        return materialnumber;
    }
    public void setMaterialname(String materialname) 
    {
        this.materialname = materialname;
    }

    public String getMaterialname() 
    {
        return materialname;
    }
    public void setUnitnumber(String unitnumber) 
    {
        this.unitnumber = unitnumber;
    }

    public String getUnitnumber() 
    {
        return unitnumber;
    }
    public void setBaseunitnumber(String baseunitnumber) 
    {
        this.baseunitnumber = baseunitnumber;
    }

    public String getBaseunitnumber() 
    {
        return baseunitnumber;
    }
    public void setQty(BigDecimal qty) 
    {
        this.qty = qty;
    }

    public BigDecimal getQty() 
    {
        return qty;
    }
    public void setBaseqty(BigDecimal baseqty) 
    {
        this.baseqty = baseqty;
    }

    public BigDecimal getBaseqty() 
    {
        return baseqty;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setTaxrate(BigDecimal taxrate) 
    {
        this.taxrate = taxrate;
    }

    public BigDecimal getTaxrate() 
    {
        return taxrate;
    }

    public BigDecimal getSystaxprice() {
        return systaxprice;
    }

    public void setSystaxprice(BigDecimal systaxprice) {
        this.systaxprice = systaxprice;
    }

    public void setTaxprice(BigDecimal taxprice)
    {
        this.taxprice = taxprice;
    }

    public BigDecimal getTaxprice() 
    {
        return taxprice;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setTax(BigDecimal tax) 
    {
        this.tax = tax;
    }

    public BigDecimal getTax() 
    {
        return tax;
    }
    public void setTaxamount(BigDecimal taxamount) 
    {
        this.taxamount = taxamount;
    }

    public BigDecimal getTaxamount() 
    {
        return taxamount;
    }
    public void setIspresent(Long ispresent) 
    {
        this.ispresent = ispresent;
    }

    public Long getIspresent() 
    {
        return ispresent;
    }
    public void setBalancecustomernumber(String balancecustomernumber) 
    {
        this.balancecustomernumber = balancecustomernumber;
    }

    public String getBalancecustomernumber() 
    {
        return balancecustomernumber;
    }
    public void setOrdercustomernumber(String ordercustomernumber) 
    {
        this.ordercustomernumber = ordercustomernumber;
    }

    public String getOrdercustomernumber() 
    {
        return ordercustomernumber;
    }
    public void setPaymentcustomernumber(String paymentcustomernumber) 
    {
        this.paymentcustomernumber = paymentcustomernumber;
    }

    public String getPaymentcustomernumber() 
    {
        return paymentcustomernumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentid", getParentid())
            .append("warehousenumber", getWarehousenumber())
            .append("warehousename", getWarehousename())
            .append("materialnumber", getMaterialnumber())
            .append("materialname", getMaterialname())
            .append("unitnumber", getUnitnumber())
            .append("baseunitnumber", getBaseunitnumber())
            .append("qty", getQty())
            .append("baseqty", getBaseqty())
            .append("price", getPrice())
            .append("taxrate", getTaxrate())
            .append("systaxprice", getSystaxprice())
            .append("taxprice", getTaxprice())
            .append("amount", getAmount())
            .append("tax", getTax())
            .append("taxamount", getTaxamount())
            .append("ispresent", getIspresent())
            .append("balancecustomernumber", getBalancecustomernumber())
            .append("ordercustomernumber", getOrdercustomernumber())
            .append("paymentcustomernumber", getPaymentcustomernumber())
            .append("remark", getRemark())
            .toString();
    }
}
